package com.cloud.service;

import com.cloud.entity.Employee;
import com.cloud.entity.PageInfo;

/**
 * @author .
 * created in 2020/1/11 7:54
 */

public interface EmpService {

    int addEmp(Employee employee);

    int delEmp(String id);

    int updateEmp(Employee employee);

    PageInfo<Employee> findAll(PageInfo<Employee> info, String name);

    Employee findEmpByCondition(Employee employee);

}
